% !TeX root = Latex_install.tex
% !TeX program = xelatex
\documentclass{article}
\begin{document}

\section{Why use Latex}
LaTeX is a static, compiled language—much like C, C++, or Fortran—that transforms source files into polished documents.  
For the compiler, I recommend TinyTeX for the following reasons:
\begin{itemize}
  \item super easy installation;
  \item small size yet the ability to academic paper writting;
\end{itemize}



\section{Install Latex}
\noindent\textbf{Step 1} — Install TinyTeX as the compiler of Latex: 

curl -sL "https://yihui.org/tinytex/install-bin-unix.sh" | sh   

If you encounter compiler-version conflicts (e.g., with GCC), switch to an earlier TinyTeX release.

\textbf{Ctex installing error is a common issue, either using pure Enligsh or good luck installing full Tex}

\noindent\textbf{Step 2} — Add the "LaTeX Workshop" extension in VS Code:

It streamlines compilation and preview.  
\begin{itemize}
  \item \texttt{Ctrl+Alt+B} — build \texttt{.tex} to \texttt{.pdf}.
  \item \texttt{Ctrl+Alt+V} — open the generated PDF side-by-side.
\end{itemize}

\end{document}
